package cn.tq365.cm;

import java.util.HashMap;
import java.util.Map;

import cn.tq365.enums.SituationType;

/**
 * 常量映射关系
 * 
 * @author lili
 * 
 */
public class ConstMap {
	/*
	 * 状态信息
	 */
	public static final Map<Object, Integer> situationMap = new HashMap<Object, Integer>();

	static {
		situationMap.put(21, SituationType.VALID.getIndex());
		situationMap.put(22, SituationType.NOTINTIME.getIndex());
		situationMap.put(23, SituationType.PAUSING.getIndex());
		situationMap.put(24, SituationType.BUDGETSHORT.getIndex());
		situationMap.put(25, SituationType.ACCOUNT_BUDGETSHORT.getIndex());

		situationMap.put(31, SituationType.VALID.getIndex());
		situationMap.put(32, SituationType.PAUSING.getIndex());
		situationMap.put(33, SituationType.CMPPAUSING.getIndex());

		situationMap.put(41, SituationType.VALID.getIndex());
		situationMap.put(42, SituationType.PAUSING.getIndex());
		situationMap.put(43, SituationType.NORECOMMEND.getIndex());
		situationMap.put(44, SituationType.SEARCH_INVALIDE.getIndex());
		situationMap.put(45, SituationType.UNACTIVE.getIndex());
		situationMap.put(46, SituationType.UNCHECKED.getIndex());
		situationMap.put(47, SituationType.SEARCH_LOW.getIndex());

		situationMap.put(51, SituationType.VALID.getIndex());
		situationMap.put(52, SituationType.PAUSING.getIndex());
		situationMap.put(53, SituationType.NORECOMMEND.getIndex());
		situationMap.put(54, SituationType.UNACTIVE.getIndex());
		situationMap.put(55, SituationType.UNCHECKED.getIndex());

		situationMap.put("VALID", SituationType.VALID.getIndex());
		situationMap.put("NO_BALANCE", SituationType.NOBALANCE.getIndex());
		situationMap.put("FREEZED", SituationType.FREEZED.getIndex());
		situationMap.put("BUDGET_SHORTAGE",
				SituationType.ACCOUNT_BUDGETSHORT.getIndex());
		situationMap.put("ALL", SituationType.ALL.getIndex());
		situationMap.put("DELETED", SituationType.DELETED.getIndex());
		situationMap.put("UNDELETED", SituationType.UNDELETED.getIndex());
		situationMap.put("INVALID", SituationType.INVALID.getIndex());
		situationMap.put("PAUSING", SituationType.PAUSING.getIndex());
		situationMap.put("NOTSTARTED", SituationType.NOTSTARTED.getIndex());
		situationMap.put("ALREADYEND", SituationType.ALREADYEND.getIndex());
		situationMap.put("NOTINTIME", SituationType.NOTINTIME.getIndex());
		situationMap.put("BUDGETSHORT", SituationType.BUDGETSHORT.getIndex());

		situationMap.put("PENDING", SituationType.UNCHECKED.getIndex());
		situationMap.put("REJECTED", SituationType.DISAPPROVED.getIndex());

		situationMap.put("SERVING", SituationType.VALID.getIndex());
		situationMap.put("NONE", SituationType.INVALID.getIndex());
		situationMap.put("ENDED", SituationType.ALREADYEND.getIndex());
		situationMap.put("PENDING", SituationType.NOTSTARTED.getIndex());
		situationMap.put("SUSPENDED", SituationType.BUDGETSHORT.getIndex());
		situationMap.put("APPROVED", SituationType.APPROVED.getIndex());
		situationMap.put("FAMILY_SAFE", SituationType.FAMILY_SAFE.getIndex());
		situationMap.put("NON_FAMILY_SAFE",
				SituationType.NON_FAMILY_SAFE.getIndex());
		situationMap.put("PORN", SituationType.PORN.getIndex());
		situationMap.put("UNCHECKED", SituationType.UNCHECKED.getIndex());
		situationMap.put("DISAPPROVED", SituationType.DISAPPROVED.getIndex());
	}

}
